package cn.lingyangwl.agile.member.assembly;

import cn.lingyangwl.agile.member.model.entity.MemberAddress;
import cn.lingyangwl.agile.member.model.rqrs.address.*;
import org.mapstruct.Mapper;

/**
 * 会员订单地址
 *
 * @author shenguangyang
 */
@Mapper(componentModel = "spring")
public interface MemberAddressAssembly {
  AddressResp toAddressResp(MemberAddress source);
  
  MemberAddress toAddress(AddressSaveReq source);

  MemberAddress toAddress(AddressSaveThirdReq source);
}
